home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 2 / Atari Mega Archive CD - Volume 2.iso / linux / announce / 08 < prev    next >
Text File  |  1995-04-22  |  8KB  |  190 lines

  1. This message announces the availability of version 0.08 of Linux/68k.
  2.  
  3. It can be ftped from directory /pub/linux/680x0 at tsx-11.mit.edu.
  4.  
  5. A precompiled kernel executable and the Amiga "bootstrap" program can
  6. be found in kern-0.08.tar.gz in the "kernel" subdirectory.
  7.  
  8. The kernel source can be found in linux-0.08.tar.gz in the "src"
  9. subdirectory.  Patches against 0.07pl4 can be found in
  10. linux-0.08.diffs.gz in the "src" subdirectory.
  11.  
  12. A new, 1024K ramdisk filesystem image has been put in the "filesys"
  13. subdirectory in the "new-filesys.gz" file.  This ramdisk filesystem is
  14. an "ext2" filesystem containing new shared libraries and a slew of
  15. programs which are necessary to build/rebuild hard disk filesystems.
  16. You can replace the libraries on your hard disk partitions with the
  17. new versions on the ramdisk image.  You can also replace some of your
  18. statically linked executables with executables from the ramdisk image
  19. (see below (#)). 
  20.  
  21. There is a bug in binutils-1.9l.1 when linking dynamically.  If the
  22. program you are linking overrides a shared library function, then the
  23. program will get a SIGSEGV when it tries to execute that function.
  24. I've put a patch to binutils-1.9l.1 in "ld.diffs.shlib" in the "tools"
  25. subdirectory.  I'll be distributing a new "usr.tar.gz" archive later
  26. which will contain the new "ld", and will get rid of the statically
  27. linked executables found in /usr/bin, replacing them with dynamically
  28. linked executables.
  29.  
  30. The changes in this release against 0.07pl4 include:
  31.  
  32. *) A change in the way that the return value from system calls are
  33.    returned to user programs. Unfortunately, this breaks the existing
  34.    4.5.19 shared library and any existing statically linked
  35.    applications.  This change was unavoidable.  The "new-filesys.gz"
  36.    file in the "filesys" directory contains the new shared libraries 
  37.    and dynamically linked executables (#).
  38.  
  39. *) A number of bug fixes.
  40.  
  41. *) Changes from Martin Apel which allow use of the copyback cache on
  42.    68040 processors.  Martin says that he thinks that there may be
  43.    problems with dynamically linked executables/shared libraries with
  44.    the copyback cache.
  45.  
  46. *) The swapping mechanism has been ported.  You should be able to use
  47.    swap partitions and swap files using "swapon" now (note that the
  48.    kernel prints out some debugging messages whenever a page is
  49.    swapped in or out; these will eventually be removed).
  50.  
  51. *) Unix domain socket support has been added.
  52.  
  53. *) The Amiga bootstrap has been changed so that it does not need to be
  54.    loaded into CHIP RAM anymore.  This means that we don't require
  55.    the "BLINK" program when building it.
  56.  
  57. *) Amiga CHIP RAM now has an allocator.  Existing users of chipram
  58.    have been changed to use this new allocator.
  59.  
  60. *) Amiga keyboard driver has auto-repeat now.
  61.  
  62. *) Includes a driver for the Amiga 4000 (not A1200) IDE hard disk
  63.    controller. Thanks to Torsten Ebeling, Michael Rausch and Geert
  64.    Uytterhoeven for separately implementing *3* IDE drivers.  It was
  65.    hard to decide which one to include.  I ended up including the one
  66.    from Torsten since it seemed to fit best into the current source.
  67.    I'm hoping that Michael and Geert will send in improvements if they
  68.    have any to make.
  69.  
  70. *) Amiga Mouse driver from Michael Rausch.  Nothing uses this yet.
  71.  
  72. *) Amiga Parallel Port printer driver from Michael Rausch.
  73.  
  74. *) VTxxx Terminal Emulation on the console from Arno Griffioen.
  75.  
  76. *) Bug fixes to the Amiga Fast File System code to allow it to work on
  77.    partitions consisting of an odd number of sectors.
  78.  
  79. *) Patches from Geert Uytterhoeven to the Amiga Fast File System code
  80.    to allow it to work with the Amiga MultiUser filesystem
  81.  
  82. *) Support for core files.
  83.  
  84. *) The "ext2" filesystem has been ported to Linux/68k.  I'm not
  85.    certain of the correctness of this port on largish (>10)
  86.    filesystems yet. Use at your own risk.
  87.  
  88. *) The "proc" filesystem has been ported to Linux/68k.
  89.  
  90. *) The "ptrace" support has been ported to Linux/68k.  This allows
  91.    the use of "gdb" to source-level debug programs (this has been
  92.    very useful to me already in tracking down various bugs).
  93.  
  94. This release still contains only support for the Amiga.  Hopefully the
  95. people working on MacIntosh and Atari support will have some sources
  96. for inclusion soon.
  97.  
  98. To boot the kernel on an Amiga, use the supplied "bootstrap" command.
  99.  
  100. To boot with the ram disk image, uncompress the image and type:
  101.  
  102.   bootstrap -r new-filesys ro
  103.  
  104. The "ro" option tells the kernel to mount the ramdisk as read-only.
  105. The "/etc/rc" file on the ramdisk image will "check" the ramdisk image
  106. and remount the root (ramdisk) filesystem read/write.  The ramdisk
  107. image contains an "/sbin/shutdown" script which will unmount all
  108. filesystems, mount the ramdisk read-only, sync all dirty buffers, and
  109. then print a message indicating that it is safe to reboot.
  110.  
  111. You can boot from an existing Linux hard disk partition by supplying
  112. the device name to the bootstrap program:
  113.  
  114.    bootstrap root=/dev/[sh]d[a-f][1-16]
  115.  
  116. You may want to provide the "ro" option to mount the partition
  117. read-only.
  118.  
  119. The major number for SCSI disks is "0x08", and the minor number
  120. depends on the disk and partition. linux/68k searches for SCSI disks
  121. from target 0 to target 7, and for Logical Units 0 through 7 on each
  122. target.  The minor number can be calculated by (disk_number)*16 +
  123. partition_number.  The first disk found is disk 0.  Partition 0 is the
  124. whole disk.  Partition 1 is the first partition found in the
  125. RigidDiskBlock partition table on the Amiga hard disk.  Thus 0x0801 is
  126. the first partition on the first disk found.  0x0812 is the second
  127. partition on the second hard disk found.
  128.  
  129. For example, I have two SCSI hard disks.  The first is at target 5,
  130. LUN 0 and the second at target 6, LUN 0.  The first has three
  131. partitions (used for Linux) and the second has 4 partitions used for
  132. AmigaDOS.
  133.  
  134. Thus I have:
  135.  
  136.    devnum         linux device name
  137.    ------         ------------------------------------
  138.    0x0800         sda  (the entire disk at target 5 : BE CAREFUL)
  139.    0x0801         sda1 (1st partition on disk at target 5)
  140.    0x0802         sda2 (2nd partition on disk at target 5)
  141.    0x0803         sda3 (3rd partition on disk at target 5)
  142.    0x0810         sdb  (the entire disk at target 6 : BE CAREFUL)
  143.    0x0811         sdb1 (1st partition on disk at target 6)
  144.    0x0812         sdb2 (2nd partition on disk at target 6)
  145.    0x0813         sdb3 (3rd partition on disk at target 6)
  146.    0x0814         sdb4 (4th partition on disk at target 6)
  147.  
  148. *NOTE* The target numbers above are examples; these are what I get on
  149. my system, since the first disk is at target 5 and the second at
  150. target 6.  If your first disk is at target 0, your sda will *still* be
  151. 0x0800 (/dev/sda).
  152.  
  153. My Linux root partition is on the 1st partition of my first drive, so
  154. I boot with:
  155.  
  156.   bootstrap root=/dev/sda1
  157.  
  158. After booting from one of the above methods, if the kernel supports
  159. your SCSI driver, you should be able to create a minix file system on
  160. one of your hard disk partitions if you wish.  
  161.  
  162. Determine the size of your partition in 1K blocks (take the number of
  163. 512 byte sectors from HDToolBox and divide by two), and determine
  164. which special file to use in /dev (see above).  *DOUBLE CHECK* that
  165. the major/minor numbers for the special device (ls -l /dev/xxx) are
  166. correct.  If they are incorrect or the device special file doesn't
  167. exist, use mknod to change or create the device special file.  Then
  168. execute:
  169.  
  170.    /sbin/mkfs.minix /dev/xxxx size
  171.  
  172. This will create a minix file system on the hard disk partition.  You
  173. can then mount this partition under /mnt and copy files to it:
  174.  
  175.   mount /dev/xxxx /mnt
  176.  
  177. When finished copying, unmount the partition:
  178.  
  179.   umount /mnt
  180.  
  181. sync a few times, run "/sbin/shutdown" and then reboot.  You can then
  182. boot the kernel by providing "bootstrap" with the device name to boot
  183. from.
  184.  
  185. Again, you do any mucking around with hard disks at your OWN RISK.
  186.  
  187. Note that the above can be used on IDE hard disks now also, except
  188. that the major/minor numbers for IDE hard disks are different, and the
  189. special devices in /dev are named hd[ab][1-64].
  190.